<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的请假单</title>
<script type="text/javascript"></script>
</head>
<body>
<table border="1px" align="center" cellpadding="0" cellspacing="0" width="85%">
	<tr align="center">
		<td>填写时间</td>
		<td>${timeItem[0]}</td>
		<td>提交时间</td>
		<td colspan="2">
			<c:if test="${timeItem[1]==null }">
				/
			</c:if>
			<c:if test="${timeItem[1]!=null }">
				${timeItem[1] }
			</c:if>
		</td>
	</tr>
	<c:forEach var="approval" items="${approvalListItem }" varStatus="approvalstatus">
		<c:set var="approvalId" value="${approval.approvalId }"></c:set>
		<tr align="center">
			<td>${approvalstatus.count }</td>
			<td>${approval.approvalUser.userName }</td>
			<td>${approvalMap[approvalId] }</td>
			<td>${approval.approvalContent  }</td>
			<td>
				<c:if test="${approval.approvateState==2 }">审批中</c:if>
				<c:if test="${approval.approvateState==0 }">结束</c:if>
			</td>
		</tr>
	</c:forEach>
</table>
</body>
</html>